#pragma once

#include <QPair>
#include <QList>
#include <QString>
#include <QMutex>


class XCompareParam
{
public:
	static XCompareParam * Instance();
	static void Release();

public:
	void setParam(QString left, QString right);
	QPair<QString, QString> getParam();

private:
	XCompareParam();
	~XCompareParam();
	XCompareParam(const XCompareParam&) = delete;
	XCompareParam* operator=(const XCompareParam&) = delete;

private:
	QMutex m_mutex;
	QList<QPair<QString, QString>> m_param;
	static XCompareParam * m_p;
};

